package com.heima.model.article.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("ap_author")
public class ApAuthor implements Serializable {

    @TableId(value = "id",type = IdType.ASSIGN_ID)
    private int id;
    @TableField(value = "name")
    private String name;
    @TableField(value = "type")
    private long type;
    @TableField(value = "user_id")
    private long userId;
    @TableField(value = "created_time")
    private Date createdTime;
    @TableField(value = "wm_user_id")
    private long wmUserId;
}
